package com.liu.backstage.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾杰说
 * @since 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Question对象", description="")
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String description;

    @ApiModelProperty(value = "发布时间")
    private Long gmtcreate;

    @ApiModelProperty(value = "修改时间")
    private Long gmtmodified;

    @ApiModelProperty(value = "和User关联id")
    private Long creator;

    @ApiModelProperty(value = "回复数")
    private Integer commentCont;

    @ApiModelProperty(value = "浏览数")
    private Integer viewcont;

    private Integer likecount;

    @ApiModelProperty(value = "标签")
    private String tag;


}
